<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <!-- ! 1.创建容器 -->
    <div id="app">
        <!-- ! 5.渲染数据 -->
        <h1>{{msg}}</h1>
        <h2>{{count}}</h2>
    </div>

    <!-- ! 2.引包（开发版本的包） -->
    <script src="https://cdn.jsdelivr.net/npm/vue@2.7.14/dist/vue.js"></script>

    <script>
        // ! 3.创建实例
        const app = new Vue({
            // ! 4.添加配置
            el: '#app',
            data: {
                msg: 'Hello,黑马',
                count: 20
            }
        })
    </script>

</body>

</html>